/**
 * Created by zzw on 2016/8/7.
 * date日期对象的操作
 */
var date1 = new Date(2000,1);
console.log(date1);

var date2 = new Date();
var y = date2.getFullYear();
console.log(y);